const request = require('../libs/request.js');
const subjectService = {
  // 专题列表
  getSubjectList: (data) => {
    return request({
      url: "/subject/list",
      data: data
    });
  },
  // 专题详情
  getSubjectDetail: (data) => {
    return request({
      url: "/subject/detail",
      data: data
    });
  },
  //专题文章列表
  getSubjectArticleList: (data) => {
    return request({
      url: "/subject/paper",
      data: data
    });
  }
}
module.exports = subjectService;